import App from "@/App"; // 挂载文件
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import Vant4 from 'vant';
import {Button, Card, NoticeBar, Popup, Search, Toast,Dialog, Picker, PasswordInput, NumberKeyboard,ConfigProvider } from 'vant';
import BaiduMap from 'vue-baidu-map-3x'
import  Elm from "element-plus"
import "element-plus/dist/index.css"
import 'vant/es/toast/style'
import 'vant/es/notify/style'
import { Divider } from 'vant';
import { CouponCell, CouponList } from 'vant';
import { RadioGroup, Radio } from 'vant';
import { ActionBar, ActionBarIcon, ActionBarButton  } from 'vant';
const app=createApp(App)
app.use($globalReady)
app.use(BaiduMap, {
    ak: 'XVhYaJv7rOy18WeKZp8xZfrlzUVm5Toq'
})
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
// app.use(Picker)
// app.use(Search)
// app.use(Dialog)
app.use(Elm)
app.use(Toast);
app.use(Button);
app.use(Popup);
app.use(PasswordInput);
app.use(NumberKeyboard);
app.use(Card);
app.use(Vant4)
app.use(ConfigProvider)
app.use(CouponCell);
app.use(CouponList);
app.use(Divider);
app.use(Radio);
app.use(RadioGroup);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(NoticeBar);
app.mount("#app");
